<tpl> include file='sys_config.head.html' </tpl>
<div id="doc3">
	<div id="yui-main">
		<div class="yui-g">
 			<div id="divinbox">
				<div class="gtlbar">
					<div class="gtlbar-left">部门管理 &gt;&gt; 部门列表</div>
					<div class="gtlbar-right" onclick="location.href='system_power.manage.php?action=add_department'">
							<input class="apd" name="" type="button" />
							<b>新增部门</b>
					</div>
				</div>
			</div>
			<form action="system_power.manage.php?action=del_department" id="form_del" name="form_del" method="post" onsubmit="return confirm_alert('你确定删除信息吗？');">
			<div class="fixbgwhite">
				<table class="es" id="bianse">
					<tr class="es-tr">
						<td class="es-6"><tpl> $langSystemPDelete </tpl></td>
						<td class="es-4">部门名称</td>
						<td class="es-4">状态</td>
						<td class="es-3"><tpl> $langSystemPAssign </tpl></td>
					</tr>
					<tpl> if $sys_department_list[0].id neq '' </tpl>
						<tpl> section name=loop loop=$sys_department_list </tpl>
					<tr class="es-td">
						<td id="check-1"><input type="checkbox" name="sys_department_id[]" value="<tpl> $sys_department_list[loop].id </tpl>" /></td>
						<td><tpl> $sys_department_list[loop].name </tpl></td>
						<td><tpl>if $sys_department_list[loop].status eq '1'</tpl>正常<tpl>else</tpl>关闭<tpl>/if</tpl></td>
						<td><a href="system_power.manage.php?action=modi_department&id=<tpl> $sys_department_list[loop].id </tpl>&curpage=<tpl> $curpage </tpl>">修改部门信息</a>
						|
						<a href="system_power.manage.php?action=ajax_department_member&id=<tpl> $sys_department_list[loop].id </tpl>">员工列表</a>
						</td>
					</tr>
						<tpl> /section </tpl>
					<tpl> /if </tpl>
				</table>
			</div>
			<tpl> if $sys_department_list[0].id eq '' </tpl>
				<div class="msk-wi">
					<div class="msk"><tpl> $langSysCNoThing </tpl></div>
				</div>
			<tpl> /if </tpl>
			<div class="ibxbot">
				<div class="fle">
					<b><tpl> $langSysSel </tpl>:</b>
					<a href="javascript:;" onclick="sel_all_checkbox('form_del');"><tpl> $langSysAll </tpl></a> - <a href="javascript:;" onclick="sel_negative_checkbox('form_del');"><tpl> $langSysSelNegative </tpl></a> - <a href="javascript:;" onclick="sel_none_checkbox('form_del');"><tpl> $langSysSelNone </tpl></a>
				</div>
				<div class="fri">
					<tpl> if $sys_department_list[0].id neq '' </tpl>
					<tpl> $page_list </tpl>
					<tpl> /if </tpl>
				</div>
			</div>
			<div class="ibxbar">
				<input class="bthl" name="" value="<tpl> $langSysCDel </tpl>" type="submit" />
			</div>
			</form>
		</div>
	</div>
</div>
<tpl> include file='sys_config.js.html' </tpl>
</body>
</html>
